﻿<UserControl x:Class="RobertMcLaws.TwilioForWin8.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Loaded="Page_Loaded" Unloaded="Page_Unloaded"
    mc:Ignorable="d"
    d:DesignWidth="1366" d:DesignHeight="768">

    <!--Common resources for default dark theme applications-->
    <UserControl.Resources>

    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Background="{StaticResource PageBackgroundBrush}">
        <Frame x:Name="MainFrame" CacheSize="4" />

        <Image HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Row="1" Source="/Images/TwilioLogoLarge.png" Opacity="0.15" Width="400" Margin="0,0,15,15"  />
        
        <StackPanel x:Name="StatusPanel"  
                    Visibility="Collapsed"  
                    HorizontalAlignment="Center"  
                    VerticalAlignment="Center">
            <TextBlock x:Name="StatusText"  
                       Style="{StaticResource DefaultFontStyle}" 
                       Margin="0,0,0,12" 
                       Text="Getting data from Twilio..." />
            <ProgressBar x:Name="ProgressIndicator" IsIndeterminate="True"  />
        </StackPanel>
    </Grid>

</UserControl>